# -*- codeing = utf-8 -*-
# @Time : 2021/2/20 11:25
# @Atuthor: 朱朱
# @File: 007字符串的替换.py
# @Software: PyCharm
msg = '我是快乐的程序汪啊,快乐的程序汪'
"""
replace()     替换字符串中指定的内容,如果指定次数count
              可替换不会超过count次
"""

newmsg = msg.replace('汪','喵喵',1)
print(newmsg)

